* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'PingFangSC-Regular', 'sans-serif';
  font-size: $--base-font-size;
  background-color: #f3f4f9;
  color: #000;
}

a:link,
a:visited {
  color: $--color-primary;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

li {
  list-style-type: none;
}

.clear-float:after {
  content: '.';
  display: block;
  height: 0;
  overflow: hidden;
  clear: both;
}



.app-wrapper{
  min-height: 100vh;
  // min-width: 1360px;
  display: flex;
  flex-direction: column;
  color: #333;
  .app-header{
      padding: 0 10px;
      height:60px;
      display: flex;
      align-items: center;
      background-color: #292838;
      box-shadow: 2px 0 6px rgba(0,21,41,.35);
      .menu{
          flex: 1;
          ul li{
              display: inline-flex;
              flex-direction: column;
              justify-content: center;
              align-items: center;
              color: #FFF;
              margin-left: 40px;
              // line-height: 30px;
              height: 60px;
              &:hover{
                  border-bottom: 2px solid #fff;
                  cursor: pointer;
                  > h2{
                      color: #fff;
                  }
              }
              &.actived{
                  border-bottom: 2px solid #fff;
                  > h2{
                      font-weight: 600;
                      color: #fff;
                  }
              }
              > h2{
                  font-size: 14px;
                  font-weight: lighter;
                  line-height: 20px;
                  color: rgba(255,255,255,0.8);
                  i{
                      font-size: 18px;
                      color: rgba(255,255,255,0.5);
                  }
              }
          }
      }
      .person{
          font-size: 14px;
          color: rgba(255,255,255,0.5);
          .username{
              margin: 0 20px;
          }
          button{
              font-size: 14px;
              color: rgba(255,255,255,0.5);
              &:before{
                  background: transparent;
              }
          }
      }
  }
  .logo{
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-weight: bold;
      color: #FFF;
      img{
          width: 60px;
          margin-right: 10px;
      }
      span{
          font-size: 16px;
          font-weight: normal;
      }
  }

 
  .app-main{
      flex: 1;
      display: flex;
      .app-side{
          width: 200px;
          padding-top: 15px;
          // margin-top: 10px;
          background-color: #FFF;
          .el-menu{
              border-right: 0;
              .el-menu-item,
              .el-submenu .el-menu-item{
                  min-width: 200px;
                  font-size: 13px;
                  height: 40px;
                  line-height: 40px;
                  border-left: 3px solid #fff;
              }
              .el-menu-item:hover{
                  background-color: #ececee !important;
              }
              .el-submenu__title{
                  height: 40px;
                  line-height: 40px;
                  font-size: 13px;
                  border-left: 3px solid #fff;
                  &:hover{
                      background-color: #ececee !important;
                  }
              }
              .el-menu-item.is-active{
                background-color: #ececee !important;
                border-left: 3px solid $--color-primary;
              }
          }
      }
      .app-content{
          flex: 1;
          display: flex;
          overflow: auto;
      }
  }
}



.app-tab{
  flex: 1;
  padding: 15px 0 0 15px;
  width: 100%;
  .el-tabs__item{
    .el-icon-full-screen{
      display: none;
    }
    &:hover{
      .el-icon-full-screen{
        display: inline-block;
      }
    }
  }
  /* el-tab 样式覆盖 */
  .el-tabs{
      height: 100%;
      display: flex;
      flex-direction: column;
      .el-tabs__header{
          margin-bottom: 0;
          .el-tabs__nav{
              background-color: #FFF !important;
          }
          .el-icon-s-home{
              font-size: 18px;
          }
      }
      .el-tabs__content{
          border-top: 0;
          flex: 1;
          border-left: 1px solid #E4E7ED;
          background-color: #fff;
          .el-tab-pane{
              height: 100%;
              display: flex;
              flex-direction: column;
              iframe{
                  flex: 1;
                  border: 0;
              }
          }
      }
  }
  .el-tabs__item{
      height: 34px;
      line-height: 34px;
  }
  .el-tabs__item:focus.is-active.is-focus:not(:active) {
      box-shadow: none;
  }
  .el-tabs--card > .el-tabs__header .el-tabs__item{
      border-bottom: 1px solid #E4E7ED;
      font-size: 12px;
  }
  .el-tabs--card > .el-tabs__header .el-tabs__nav{
      border-radius: 0;
  }
  .el-tabs__nav-next,
  .el-tabs__nav-prev{
      line-height: 34px;
      font-size: 14px;
  }

  /* 没有打开任何tab时显示的图案 */
  .no-tab{
      height: 100%;
      background-color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 14px;
      > div{
          text-align: center;
          color: #999;
          line-height: 3;
          > i{
              font-size: 100px;
              color: #f3f3f3;
          }
      }
  }
}

.el-table .el-table-header {
  background-color: #f2f2f4;
}
.app-tab .el-tabs--card > .el-tabs__header .el-tabs__item{
  font-weight:400;
  font-size:14px;
}
.app-tab .el-tabs__item{
  height: 40px;
  line-height: 40px;
}
.app-title-h1{
  font-size: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #EAEAEA;
  display: flex;
  justify-content: space-between;
  align-items: center;
  > a{
    font-size: 12px;
  }
}
.el-tabs--card > .el-tabs__header .el-tabs__item .el-icon-close{
  font-size: 14px !important;
  font-weight: bold;
}

.tab-page-content{
    padding: 15px;
    background-color: #fff;
    &.is-fullscreen{
        animation: fullscreen 0.2s linear forwards;
        position: fixed;
        z-index: 200;
    }
}
@keyframes fullscreen {
    0% {
        width: 65%;
        height: 65%;
        top:20%;
        left: 20%;
    }
    100% {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }
}

/*
    table样式
*/
.table_sef{
  >.el-table{
    border-top: 1px solid #ebeef5;
  }
  th, td{
      .cell{
          text-align: center;
      }
  }
  .el-table__header{
      th{
          padding: 6px 0;
          background-color: rgba(227, 227, 227, 0.2);
          .cell{
              color: #999999;
          }
      }
  }
}

.search-form{
    padding: 10px 20px 0 20px;
}